package com.gym.service;

import com.github.pagehelper.PageInfo;
import com.gym.pojo.Employee;

import java.util.List;
import java.util.Map;

public interface StaffdbService {
    public Employee login(String account, String password);

    public Employee selempid(int empid);
    public Employee selectpwd(String account,String password);

    public List<Employee> selaccount(String account);

    public PageInfo<Employee> select(String empname, int page, int lmit);

    public boolean insert(Employee em);

    public boolean update(Employee em);

    public boolean delete(int empid);
    public boolean updatepwd(Employee em);
}
